package com.kyivmohyla.kma2.client;

import com.google.gwt.user.client.rpc.AsyncCallback;
import com.kyivmohyla.kma2.shared.model.UIStaff;

public interface LoginServiceAsync {
    void getByLoginAndPassword(String email, String password, AsyncCallback<UIStaff> async);

    void logout(AsyncCallback<Void> async);

    void login(UIStaff staff, AsyncCallback<Void> async);

    void checkLogin(AsyncCallback<UIStaff> async);
}
